#include "task_cmd_factory.hpp"
#include "thread_task.hpp"
#include "task_cmd.hpp"
#include "thread_list.hpp"
task_cmd_factory::task_cmd_factory(/* args */)
{
}

task_cmd_factory::~task_cmd_factory()
{
}
task_cmd_factory* task_cmd_factory::getInstance()
{
    static task_cmd_factory t;
    return &t;
}
thread_task* task_cmd_factory::create_task()
{
    task_cmd *cmd = new task_cmd();
    auto list = new thread_list();
    cmd->registration_command("ls",list);
}